import {
    StyleSheet,
    Dimensions
} from "react-native";

const windowW = Dimensions.get("window").width
const styles = StyleSheet.create({
    courseBoard: {
        width:windowW,
        paddingBottom: 10,
        borderLeftWidth: 5,
        borderRightWidth: 5,
        borderColor: "transparent"
    },
    courseItem: {
        flexDirection: "row",
        height: 80,
        backgroundColor: "#ffffff",
        marginTop: 10,
        
    },
    courseItemFirst: {
        marginTop: 0
    },
    imgView: {
        width: 142,
        height: 80
    },
    infoView: {
        position: "absolute",
        top: 0,
        left: 0,
        width: windowW-10,
        height: 80,
        paddingLeft: 152,
        paddingTop: 10,
        paddingBottom: 10
    },
    courseName: {
        lineHeight: 20
    },
    price: {
        color: "#f40f40",
        marginTop: 10
    }
});

export default styles;
